+ create validated WACZ web archives - #110
Merged
Merged
Conversation
Hawkynt
force-pushed
the
feat/wacz-writer
branch
from
August 28, 2026 17:25
7c71684 to
93b8a6d
Compare
Promotes WACZ from read-only to WORM creation. Supplied resources are kept as given, and a WARC that arrives without datapackage.json gets a standards-shaped manifest. A generic tree keeps its original files verbatim and is additionally wrapped into a deterministic WARC resource collection with indexes/index.cdxj and pages/pages.jsonl. datapackage.json follows WACZ 1.1.1 and carries SHA-256 fixity and byte sizes. Duplicate and unsafe paths are refused, the reader-only metadata.ini input is skipped, and entries are written in a fixed order.
Hawkynt
force-pushed
the
feat/wacz-writer
branch
from
August 28, 2026 20:31
93b8a6d to
0a3d50d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
datapackage.jsonindexes/index.cdxjandpages/pages.jsonlfor generic conversionsdatapackage.jsonwith SHA-256 fixity and byte sizes for generated/custom resourcesmetadata.inientry when rebuilding from extracted contentarchive/WARC members and already-compressed.gzresources for range-friendly accessVerification
Added NUnit coverage for:
CanCreatecapabilityThe first CI run exposed the repository-wide conversion-matrix requirement that every generic
IArchiveCreatabletarget preserve arbitrary source payloads. The normalization path now satisfies that contract while still producing the required WACZ resource structure. Repository CI performs compile/test verification in this environment.